package encaps.utils;

public enum RoleGrantGenreEnum {

    ROLE("netcrackerproject.role", "name", "netcrackerproject.role_grant", "role_name"),
    GRANT("netcrackerproject.grant", "name", "netcrackerproject.role_grant", "grant_name"),
    GENRE("netcrackerproject.genre", "name", "netcrackerproject.movie_genre", "genre");
    private String primtable;
    private String primcolumn;
    private String fortable;
    private String forcolumn;

    RoleGrantGenreEnum(String ptable, String pcolumn, String table, String column) {
        this.primtable = ptable;
        this.primcolumn = pcolumn;
        this.fortable = table;
        this.forcolumn = column;
    }

    public static String getClassName() {
        return RoleGrantGenreEnum.class.getName();
    }

    public String getForTable() {
        return this.fortable;
    }

    public String getForColumn() {
        return this.forcolumn;
    }

    public String getPrimTable() {
        return this.primtable;
    }

    public String getPrimColumn() {
        return this.primcolumn;
    }
}
